
package Participants.CapitoGuye;

import Othello.Move;

public class Coup
	{

	/*------------------------------------------------------------------*\
	|*							Constructeurs							*|
	\*------------------------------------------------------------------*/

	public Coup(int valeur)
		{
		this.valeur = valeur;
		this.coup = null;
		}

	public Coup(int valeur, Move coup)
		{
		this.valeur = valeur;
		this.coup = coup;
		}

	@Override public String toString()
		{
		StringBuilder builder = new StringBuilder();
		builder.append("(Val;Move)=>(" + valeur + ";" + coup + ")");
		return builder.toString();
		}

	/*------------------------------------------------------------------*\
	|*							Methodes Public							*|
	\*------------------------------------------------------------------*/

	/*------------------------------*\
	|*				Get				*|
	\*------------------------------*/

	public int getValeur()
		{
		return this.valeur;
		}

	public Move getCoup()
		{
		return this.coup;
		}

	/*------------------------------------------------------------------*\
	|*							Attributs Private						*|
	\*------------------------------------------------------------------*/

	private int valeur;
	private Move coup;
	}
